home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
batchut
/
chkflop.zip
/
CHKFLOP.DOC
next >
Wrap
Text File
|
1988-02-16
|
1KB
|
29 lines
CHKFLOP
The CHKFLOP program sets an ErrorLevel based upon what it found when
checking the floppy drive. It is useful in a batch file to make
decisions about whether a drive exists on the system, whether a diskette
is in the drive, whether the diskette is formatted, whether the diskette
contains data, etc.
The format of the command to use CHKFLOP is:
CHKFLOP driveid
Example: CHKFLOP B (no colon)
The Errorlevel set is:
6 - Drive does NOT exist on the System.
5 - Drive door is open.
4 - Diskette in drive is NOT formatted.
3 - Diskette in drive is formatted but NOT as 360K (DSDD) and
contains data.
2 - Diskette in drive is formatted but NOT as 360k (DSDD) and
does NOT contain data.
1 - Diskette in drive formatted as 360k (DSDD) and
contains data.
0 - Diskette in drive is formatted and does NOT
contain data.